package org.springblade.modules.coreBoard.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 每日核心数据看板实体类
 *
 * @author BladeX
 * @since 2020-09-02
 */
@Data
@TableName("t_c_daily_core_data_report")
@ApiModel(value = "DailyCoreDataReport对象", description = "每日核心数据看板")
public class DailyCoreDataReport implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@ApiModelProperty(value = "主键")
	@TableId(value = "id", type = IdType.AUTO)
	@Column(columnDefinition = " bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键' ")
	private Long id;
	/**
	 * 日期
	 */
	@ApiModelProperty(value = "日期")
	@Column(columnDefinition = "  varchar(10) DEFAULT NULL COMMENT '日期' ")
	private String date;
	/**
	 * 用户数
	 */
	@ApiModelProperty(value = "用户数")
	@Column(columnDefinition = "  int(11) DEFAULT NULL COMMENT '用户数' ")
	private Integer userNum;
	/**
	 * vip用户数
	 */
	@ApiModelProperty(value = "vip用户数")
	@Column(columnDefinition = "  int(11) DEFAULT NULL COMMENT 'vip用户数' ")
	private Integer vipUserNum;
	/**
	 * 激活VIP用户数
	 */
	@ApiModelProperty(value = "激活VIP用户数")
	@Column(columnDefinition = "  int(11) DEFAULT NULL COMMENT '激活VIP用户数' ")
	private Integer activeVipUserNum;
	/**
	 * pv
	 */
	@ApiModelProperty(value = "pv")
	@Column(columnDefinition = "  int(11) DEFAULT NULL COMMENT 'pv' ")
	private Integer pv;
	/**
	 * uv
	 */
	@ApiModelProperty(value = "uv")
	@Column(columnDefinition = "  int(11) DEFAULT NULL COMMENT 'uv' ")
	private Integer uv;
	/**
	 * 新增用户数
	 */
	@ApiModelProperty(value = "新增用户数")
	@Column(columnDefinition = "  int(11) DEFAULT NULL COMMENT '新增用户数' ")
	private Integer newUserNum;
	/**
	 * 活跃用户数
	 */
	@ApiModelProperty(value = "活跃用户数")
	@Column(columnDefinition = "  int(11) DEFAULT NULL COMMENT '活跃用户数' ")
	private Integer activeUserNum;
	/**
	 * 付费用户数
	 */
	@ApiModelProperty(value = "付费用户数")
	@Column(columnDefinition = "  int(11) DEFAULT NULL COMMENT '付费用户数' ")
	private Integer payUserNum;
	/**
	 * 销量
	 */
	@ApiModelProperty(value = "销量")
	@Column(columnDefinition = "  int(11) DEFAULT NULL COMMENT '销量' ")
	private Integer salesVolume;
	/**
	 * 销售金额
	 */
	@ApiModelProperty(value = "销售金额")
	@Column(columnDefinition = "  int(11) DEFAULT NULL COMMENT '销售金额' ")
	private Integer salesAmount;
	/**
	 * 充值
	 */
	@ApiModelProperty(value = "充值")
	@Column(columnDefinition = "  int(11) DEFAULT NULL COMMENT '充值' ")
	private Integer recharge;
	/**
	 * 收入
	 */
	@ApiModelProperty(value = "收入")
	@Column(columnDefinition = "  int(11) DEFAULT NULL COMMENT '收入' ")
	private Integer income;
	/**
	 * 单价
	 */
	@ApiModelProperty(value = "单价")
	@Column(columnDefinition = "  decimal(11,2) DEFAULT NULL COMMENT '单价' ")
	private BigDecimal unitPrice;

	/**
	 * 创建时间
	 */
	@Column(columnDefinition = "  datetime COMMENT '创建时间' ")
	private Date created;
}
